package org.example.command;

public class OpenCommand implements Command{
    Editor editor;
    OpenCommand(Editor editor){
        this.editor = editor;
    }
    @Override
    public void execute() {
        editor.open();
    }
}
